package com.jaiai.work.project.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 模块
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2018-04-19
 */
@TableName("t_modular")
public class TModular extends Model<TModular> {

    private static final long serialVersionUID = 1L;

    @TableId("modular_id")
	private Integer modularId;
	@TableField("project_id")
	private String projectId;
    /**
     * 模块名称
     */
	@TableField("modular_name")
	private Integer modularName;
    /**
     * 包名
     */
	private String packages;
    /**
     * api路由
     */
	@TableField("api_route")
	private String apiRoute;
    /**
     * 完成进度百分比
     */
	private Float progress;
    /**
     * 注释
     */
	private String notes;
    /**
     * 负责人
     */
	private String owners;
	@TableField("start_time")
	private Date startTime;
	@TableField("end_time")
	private Date endTime;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 创建人
     */
	@TableField("create_by")
	private String createBy;


	public Integer getModularId() {
		return modularId;
	}

	public void setModularId(Integer modularId) {
		this.modularId = modularId;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public Integer getModularName() {
		return modularName;
	}

	public void setModularName(Integer modularName) {
		this.modularName = modularName;
	}

	public String getPackages() {
		return packages;
	}

	public void setPackages(String packages) {
		this.packages = packages;
	}

	public String getApiRoute() {
		return apiRoute;
	}

	public void setApiRoute(String apiRoute) {
		this.apiRoute = apiRoute;
	}

	public Float getProgress() {
		return progress;
	}

	public void setProgress(Float progress) {
		this.progress = progress;
	}

	public String getNotes() {
		return notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}

	public String getOwners() {
		return owners;
	}

	public void setOwners(String owners) {
		this.owners = owners;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	@Override
	protected Serializable pkVal() {
		return this.modularId;
	}

}
